package com.hq.bootdemo.service.impl;

import com.hq.bootdemo.entity.RoomEntity;
import com.hq.bootdemo.mapper.RoomMapper;
import com.hq.bootdemo.service.RoomService;

import javax.annotation.Resource;
import java.util.List;

public class RoomServiceImpl implements RoomService {
    @Resource
    RoomMapper roomMapper;
    @Override
    public List<RoomEntity> selectAll() {
        return roomMapper.selectAll();
    }
}
